﻿using Abp;
using Abp.Notifications;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Partner.Surround.Notifications
{
    /// <summary>
    /// 消息通知发布接口
    /// </summary>
    public interface IAppNotifier
    {
        #region 简单消息
        Task SendMessageAsync(UserIdentifier user, string message, NotificationSeverity severity = NotificationSeverity.Info);
        #endregion

        #region 任务提醒
        Task NewTaskAsync(string message, NotificationSeverity severity = NotificationSeverity.Info);
        #endregion
    }
}
